<!DOCTYPE html>
<html>
<head>
<style>
.container {
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 50px;
}
.first {
    flex: 1 1 auto;
}
.test {
    flex: 0 0 auto;
    background-color: green;
    display: flex;
}
td {
    padding: 23px;
}
</style>
</head>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.test')">
<div class="container">
    <div class="first">
    </div>
    <div class="test" data-expected-height=50>
        <table>
            <tr><td></td></tr>
        </table>
    </div>
</div>
</body>
</html>
